package com.ishow.common.exception;

/**
 * 系统业务异常
 * 
 * @author chichi
 * @version 1.0
 */
public class BusinessException extends BaseException {

	/** serialVersionUID */
	private static final long serialVersionUID = 2332608236621015980L;

	protected String code = "400001";

	public BusinessException() {

	}

	public BusinessException(String code) {
		if (code != null && !"".equals(code)) {
			this.code = code;
		}
	}

	public BusinessException(String code, Throwable cause) {
		super(cause);
		this.code = code;
	}

}
